package com.neusoft.neuiotms.dcam.fixed.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.fixed.model.AssetLifeCycle;
import com.neusoft.neuiotms.dcam.fixed.model.AssetType;

public interface AssetLifeCycleRepository
        extends JpaRepository<AssetLifeCycle, Long>, CustomizedAssetLifeCycleRepository {

    AssetLifeCycle findByCode(String code);

    List<AssetLifeCycle> findByType(AssetType type);

    void deleteByIdIn(List<Long> ids);

}
